package cn.itcast.md.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class AiMdGoodsList implements Serializable {
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("data")
    private AiMdGoodsDetail data;
    @Data
    public class AiMdGoodsDetail {
        @JsonProperty("data")
        private List<AiMdGoodsDetailList> data;
    }
    @Data
    public class AiMdGoodsDetailList {
        @JsonProperty("goods_id")
        private String goodsId;
        @JsonProperty("id")
        private String id;
        @JsonProperty("goods_type")
        private Date goodsType;
        @JsonProperty("price")
        private String price;
        //0是正常1是不正常
        @JsonProperty("pay_text")
        private Integer payText;
    }
}
